//! # zero_opens
//!
//! ## Why the name?
//! "Zero" stands for *zero cost abstractions* and "Opens" because
//! the crate is and always will be **open source and open knowledge**.
//!
//! ## Usage
//! Add this to your `Cargo.toml`:
//! ```toml
//! [dependencies]
//! zero_opens = "0.0.0"
//!
//! ```
//! Then import whatever topic you need:
//! ```rust
//! use zero_opens::hello;
//! println!("{}", hello());
//! ```
//!
//! ## Contribute
//! Found a better way? Open an issue or PR. Let's teach the next learner together.

/// Returns the string "hello ZeroOpens".
///
/// # Examples
///
/// ```
/// let greeting = zero_opens::hello();
/// assert_eq!(greeting, "Hello ZeroOpens");
/// ```
pub fn hello() -> &'static str {
    "Hello ZeroOpens"
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_hello() {
        assert_eq!(hello(), "Hello ZeroOpens");
    }
}
